﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YmtAuth.LogService
{
    public class UserRegisterHistory : LogEntityBase
    {
        public string _id { get { return Guid.NewGuid().ToString("N"); } }
        public string LoginId { get; set; }
        public int UserId { get; set; }
        public string Mobile { get; set; }
        public string LoginMail { get; set; }
        public string ClientIp { get; set; }
        public DateTime CreateTime { get { return DateTime.Now; } }
        public string Description { get; set; }
        public string RegSource { get; set; }
        public string RegResult { get; set; }
        public string ChannelSource { get; set; }
        public string TerminalSource { get; set; }

        /// <summary>
        /// 注册时的设备ID, 对于PC此字段为空
        /// </summary>
        public string DeviceId { get; set; }

        /// <summary>
        /// 注册时的Equimentid
        /// </summary>
        public string Equimentid { get; set; }

        public override string LogType
        {
            get { return "YmatouUserRegisterLoginLog"; }
        }
       
    }
}
